//
//  FootBallTableViewCell.m
//  B
//
//  Created by lanou on 16/5/10.
//  Copyright © 2016年 裴启航. All rights reserved.
//

#import "FootBallTableViewCell.h"

@implementation FootBallTableViewCell

-(void)setDataWithModel:(FootBallMatchModel *)model
{
    self.leftTeam.text = model.c4T1;
    self.rightTeam.text = model.c4T2;
    NSString *c25 = [model.c2 substringToIndex:5];
    NSString *get = [c25 stringByAppendingString:@"-"];
    NSString *fg = [get stringByAppendingString:model.c3];
    if ([model.c4R isEqualToString:@"VS"]) {
        self.scoreLabel.text = [fg stringByAppendingString:@"开赛"];
    } else {
        self.scoreLabel.text = model.c4R;
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
